#!/bin/bash

mpstat $1 $2
awk '\
BEGIN(print $1)\
END (print 'done')\

DONE > output.dat
